package com.haiwen.mapper;

import com.haiwen.pojo.users;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

public interface usersMapper {
    //注册
    int regist(users users);
   /* int updateRegist(users users);*/
    void updateRegist(@Param("date") String date,@Param("uname") String uname);
    //更新失败次数
    void updateErrnums(@Param("nums") Integer nums,@Param("uname") String uname);
    //注册判断
    users isregist(String uname);
    //登录
    users login(@Param("uname") String uname);
    users SelectAccount(@Param("uname") String uname,@Param("isroot") String isroot);
}
